package com.feicheng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feicheng.entity.Warehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yvming.gao
 * @since 2022-07-04
 */
@Mapper
public interface WarehouseMapper extends BaseMapper<Warehouse> {
    @Select("select * from warehouse where user_id = #{value}")
    List<Warehouse> getWarehouseInfo(Integer userId);

}
